package com.sky.mapper;

import com.sky.entity.DishFlavor;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface DishFlavorMapper {
    /*新增口味方法*/
    public void insertBatch(List<DishFlavor> flavors);
    /*
    * 根据菜品id删除口味数据
    * */
    public void deleteByDishId(Long DishId);

    public void deleteByDishIds(List<Long> DishIds);

    public List<DishFlavor> getFlavorByDishId(Long DishId);
}
